package com.dd.ent.car.common.config;

/**
 * Created by aqu-spring on 16/8/7.
 */
public class UrlConfig {
    public static final String HOST = "http://123.56.28.136:8080/carServer/";
    public static final String USER_REGISTER = HOST + "UserController/register";
    public static final String USER_LOGIN = HOST + "UserController/login";
    public static final String USER_FIND_PASSWORD = HOST + "UserController/findPassword";
    public static final String USER_UPDATE_NAME_SEX = HOST + "UserController/updateAvathorNameSex";
    public static final String COMMIT_VIDEO_INFO = HOST + "VideoController/addVideo";
    public static final String GET_VIDEO_BY_UID = HOST + "VideoController/getVideoByUid?";
    //提交贴信息
    public static final String POST_NOTE_INFO= HOST + "NoteController/addNote";
    //根据uid获取个人所有的帖
    public static final String GET_NOTE_INFO_BY_UID= HOST + "NoteController/getNoteByUid?";

    public static final String GET_VIDEO = HOST + "VideoController/getVideo?";

    public static final String QUERY_ALL_VIDEO = HOST + "VideoController/queryAllVideo?";

    public static final String QUERY_VIDEO_BY_PAGE = HOST + "VideoController/queryVideoByPage?";

    //查询所有的贴文
    public static final String QUERY_ALL_NOTE = HOST + "NoteController/queryAllNote";

    public static final String QUERY_NOTE_BY_PAGE = HOST + "NoteController/queryNoteByPage?";

    //为贴文添加评论
    public static final String ADD_COMMENT_TO_NOTE = HOST + "CommentController/addCommentToNote";

    //为贴文添加评论
    public static final String ADD_COMMENT_TO_VIDEO = HOST + "CommentController/addCommentToVideo";

    //根据贴文id查询所有评论
    public static final String QUERY_NOTE_COMMENT_BY_NOTE_ID = HOST +"CommentController/queryCommentByNoteId?";
    public static final String QUERY_NOTE_COMMENT_BY_VIDEO_ID = HOST +"CommentController/queryCommentByVideoId?";

    public static final String QUERY_ALL_CHOICE = HOST + "HomeController/queryChoice";

    public static final String QUERY_CHOICE_BY_PAGE = HOST + "HomeController/queryChoiceByPage?";

    public static final String ADD_LIKE_TO_VIDEO = HOST + "VideoController/addLikeToVideo";

    public static final String ADD_VISIT_VIDEO_COUNT = HOST + "VideoController/addVisitVideoCount";
    public static final String ADD_VISIT_NOTE_COUNT = HOST + "NoteController/addVisitNoteCount";
}
